package com.interview.evaluation.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.interview.common.domain.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 评估详细结果实体类
 *
 * @author zzw
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("evaluation_detail")
@Schema(description = "评估详细结果")
public class EvaluationDetail extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "详情ID")
    private Long detailId;

    @Schema(description = "评估ID")
    private Long evaluationId;

    @Schema(description = "维度ID")
    private Long dimensionId;

    @Schema(description = "AI评分")
    private BigDecimal aiScore;

    @Schema(description = "人工评分")
    private BigDecimal manualScore;

    @Schema(description = "评语")
    private String comments;
}